﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="GoldPrice.ascx.cs" Inherits="Pub_Module_GoldPrice" %>

<script language="javascript" type="text/javascript" src="http://vnexpress.net/Service/Gold_Content.js"></script>

<script language="javascript" type="text/javascript">
    $(window).load(function() {             
                           $("#GoldPriceID").show();
                           $html="";    
                           $html+='<table border="0" cellpadding="5" cellspacing="0" style="width: 100%"  class="lbl_Normal2">';
                           $html+='<tr>';
                           $html+='<td align="center" nowrap="nowrap">';
                           $html+='<span style="font-weight:bold">Loại</span></td>'
                           $html+='<td align="center" nowrap="nowrap">';
                           $html+='<span style="font-weight:bold">Mua</span></td>';
                           $html+='<td align="center" nowrap="nowrap">';
                           $html+='<span style="font-weight:bold">Bán</span></td>';
                           $html+='</tr>';
                           $html+='<tr>';
                           $html+='<td align="center" nowrap="nowrap">';
                           $html+='<span>SBJ</span></td>';
                           $html+='<td align="center" nowrap="nowrap">';
                           $html+= vGoldSbjBuy;

                           $html+='</td>';
                           $html+='<td align="center" nowrap="nowrap">';

                           $html+=  vGoldSbjSell;

                           $html+='</td>';
                           $html+='</tr>';
                           $html+='<tr>';
                           $html+='<td align="center" nowrap="nowrap">';
                           $html+='<span>SJC</span></td>';
                           $html+='<td align="center" nowrap="nowrap">';

                           $html+=vGoldSjcBuy;

                           $html+='</td>';
                           $html+='<td align="center" nowrap="nowrap">';

                           $html+= vGoldSjcSell;

                           $html+='   </td>';
                           $html+='  </tr>';
                          
                           $html+='  </table>';
                           $("#<%= divData.ClientID%>").html($html);   
                    
      });    
</script>

<div style="padding: 5px 0px 5px 0px">
    <div class='div_skin-tango' style='padding: 0px 2px 10px 2px; text-align: center;
        display: none' id="GoldPriceID">
        <ul class='fixUlBlock'>
            <li style='padding-bottom: 5px'><div class='coverlblTitleProduct'><span class='lblTitleProduct'>GiÁ VÀNG</span></div></li>
            <li>
                <asp:Panel ID="divData" runat="server" Style="text-align: center;">
                </asp:Panel>
            </li>
        </ul>
    </div>
</div>
 